package com.third.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.third.entity.Users;
import com.third.entity.vo.request.ConfirmResetVo;
import com.third.entity.vo.request.EmailRegisterVO;
import com.third.entity.vo.request.EmailResetVO;
import org.springframework.security.core.userdetails.UserDetailsService;

public interface UsersService extends IService<Users>, UserDetailsService {
    //找到用户
    Users findUsersByNameOrEmail(Object text);
    
    String registerEmailUsers(EmailRegisterVO vo);
    
    //注册邮件验证码
    String registerEmailVerifyCode(String type, String email,String ip);
    
    String resetConfirm(ConfirmResetVo vo);
    //重置密码
    String resetEmailUsersPassword(EmailResetVO vo);
}
